-- GENERATED SPELL FOR [Dreadfang Lurker] --


function spell0_18466(pUnit, Event) --@Dread Poison,n/a--
pUnit:FullCastSpellOnTarget(32902,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18466', 20000, 1)
end

function Sorts_18466(pUnit, Event)
local choix_sorts_18466 = math.random(0, 0)
if choix_sorts_18466 == 0 then
pUnit:RegisterEvent('spell0_18466', 1, 1)
end
end

function mob18466_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18466', math.random(1500, 3000), 1)
end

function mob18466_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18466_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18466_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18466, 1, 'mob18466_Action')
RegisterUnitEvent(18466, 2, 'mob18466_Leave')
RegisterUnitEvent(18466, 3, 'mob18466_Kill')
RegisterUnitEvent(18466, 4, 'mob18466_Die')
